<!DOCTYPE html>
<html>
<head>
<style> 
div {
    width: 100px;
    height: 100px;
    background: red;
    position: relative;
    -webkit-animation: mymove 5s; /* Safari 4.0 - 8.0 */
    -webkit-animation-play-state: paused; /* Safari 4.0 - 8.0 */
    animation: mymove 5s;
    animation-play-state: playing;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes mymove {
    from {left: 0px;}
    to {left: 200px;}
}

@keyframes mymove {
    from {left: 0px;}
    to {left: 200px;}
}
</style>
</head>
<body>

<h1>The animation-play-state Property</h1>

<p>Pause an animation:</p>
<div></div>
<p><strong>Note:</strong> The animation-play-state property is not supported in Internet Explorer 9 and earlier versions.</p>

</body>
</html>
